//
//  DoneOrderView.h
//  OrderSeat
//
//  Created by 王威 on 13-12-24.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EGORefreshTableHeaderView.h"

@class ShopCollectDataSource;
@class MyCollectViewController;
@interface ShopCollectView : UIView<UIScrollViewDelegate,EGORefreshTableDelegate>

@property (assign, nonatomic) BOOL reloading;
@property (assign, nonatomic) BOOL moreLoading;
@property (strong, nonatomic) UITableView *orderTable;
@property (strong, nonatomic) EGORefreshTableHeaderView *refreshHeaderView;

@property (strong, nonatomic) MyCollectViewController *collectVC;
@property (strong, nonatomic) ShopCollectDataSource *dataSource;

- (id)initWithFrame:(CGRect)frame;
@end

@interface ShopCollectDataSource : BaseDataSource<UITableViewDelegate,UITableViewDataSource>

@property (assign, nonatomic) int pageNumber;
@property (strong, nonatomic) NSMutableArray *shopList;
@property (strong, nonatomic) ShopCollectView *view;

- (void)fetchShop;
- (void)removeWithId:(NSString *)shopId;

@end
